Test Automation Meets Static Analysis
نویسندگان
چکیده
In this article we advocate an integrated approach for the automation of module or software integration testing and static analysis. It is illustrated how fundamental methods of static analysis, in particular abstract interpretation by interval analysis, contribute to the solution of problems typically encountered in the field of automated test case/test data generation. Conversely, test data generation algorithms are useful to improve results obtained in static analyses: Potential errors identified in the unit under test (UUT) during an analysis can be confirmed by constructing concrete test data leading to the erroneous UUT state. False alarms resulting from over-approximating abstractions applied during the analyses can be uncovered using test automation algorithms disproving the reachability of associated code portions and program states.
منابع مشابه
Automatic Evolutionary GUI Testing Assisted by Static Analysis
Graphical User Interfaces (GUIs) are the primary interaction interface between software and a human user, ubiquitous in today’s software applications. Simultaneously to the complexity, the testing effort of GUIs enhanced drastically in the last decades. A major problem of GUI test automation is the requirement of a test oracle, verifying the automatic generated tests against a specification of ...
متن کاملAutomatic Page Object Generation with APOGEN
Page objects are used in web test automation to decouple the test cases logic from their concrete implementation. Despite the undeniable advantages they bring, as decreasing the maintenance effort of a test suite, yet the burden of their manual development limits their wide adoption. In this demo paper, we give an overview of APOGEN, a tool that leverages reverse engineering, clustering and sta...
متن کاملStatic Analysis for Industrial Automation Systems
Static analysis is a highly successful measure when applied in software development. However, there is a lack of corresponding methods and tools in context of industrial automation systems. In this talk we give an overview of different applications of static analysis and the opportunities they provide for software development in industrial automation.
متن کاملSQLUnitGen: SQL Injection Testing Using Static and Dynamic Analysis
This paper proposes an approach to facilitate the identification of actual input manipulation vulnerabilities via automated testing based on static analysis. We implemented a prototype of a SQL injection vulnerability detection tool, SQLUnitGen, which we compared to a static analysis tool, FindBugs. The evaluation results show that our approach can be used to locate precise vulnerable locations...
متن کاملClean and Polluting DG Types Planning in Stochastic Price Conditions and DG Unit Uncertainties
This study presents a dynamic way in a DG planning problem instead of the last static or pseudo-dynamic planning point of views. A new way in modeling the DG units’ output power and the load uncertainties based on the probability rules is proposed in this paper. A sensitivity analysis on the stochastic nature of the electricity price and global fuel price is carried out through a proposed model...
متن کامل